package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class JoinType {

    private int beginIndex;
    private int endIndex;
    private boolean inner;
    private boolean leftOuter;
    private boolean rightOuter;
    private boolean fullOuter;

    public JoinType(int beginIndex,
                    int endIndex,
                    boolean inner,
                    boolean leftOuter,
                    boolean rightOuter,
                    boolean fullOuter) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.inner = inner;
        this.leftOuter = leftOuter;
        this.rightOuter = rightOuter;
        this.fullOuter = fullOuter;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isInner() {
        return inner;
    }

    public boolean isLeftOuter() {
        return leftOuter;
    }

    public boolean isRightOuter() {
        return rightOuter;
    }

    public boolean isFullOuter() {
        return fullOuter;
    }

}
